package com.youlu.campus.admin.statistics;

import com.youlu.campus.entity.statistics.vo.ChannelPageElementReq;
import com.youlu.campus.service.statistics.ActivityChannelPageElementStatisticsService;
import com.yuelin.infrastructure.quantum.common.QResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ActivityChannelPageElementStatisticsController {

    @Autowired
    private ActivityChannelPageElementStatisticsService activityChannelPageElementStatisticsService;


    @PostMapping("/statistics/channel/activity/list")
    public QResult listStatistics(@RequestBody ChannelPageElementReq req){
        return QResult.success(activityChannelPageElementStatisticsService.list(req));
    }
}
